// config.js

const AppConfig = {
    // 网站的总标题，会显示在浏览器标签页和左上角
    siteTitle: "社区日间照料中心",

    // 菜单配置
    menu: [
        { name: "人员档案", id: "members" },
        { name: "活动安排", id: "activities" },
        { name: "配餐管理", id: "meals" },
    ],

    // 页面数据
    data: {
        "members": {
            title: "中心人员档案",
            columns: [
                { key: "name", label: "姓名" },
                { key: "type", label: "人员类型" },
                { key: "contact", label: "紧急联系电话" },
            ],
            rows: [
                { id: 101, name: "赵爷爷", type: "日托老人", contact: "13800138001" },
                { id: 102, name: "钱奶奶", type: "全托老人", contact: "13900139002" },
                { id: 103, name: "孙老师", type: "工作人员", contact: "13500135003" },
            ]
        },
        "activities": {
            title: "本周活动安排",
            columns: [
                { key: "activityName", label: "活动名称" },
                { key: "time", label: "时间" },
                { key: "location", label: "地点" },
                { key: "leader", label: "负责人" },
            ],
            rows: [
                { id: 201, activityName: "书法练习", time: "周三 09:30", location: "活动室A", leader: "孙老师" },
                { id: 202, activityName: "健康讲座", time: "周四 15:00", location: "多功能厅", leader: "王医生" },
                { id: 203, activityName: "棋牌娱乐", time: "周五 14:00", location: "活动室B", leader: "李社工" },
            ]
        },
        "meals": {
            title: "今日配餐计划",
            columns: [
                { key: "mealTime", label: "餐段" },
                { key: "staple", label: "主食" },
                { key: "dishes", label: "菜品" },
                { key: "notes", label: "备注" },
            ],
            rows: [
                 { id: 301, mealTime: "午餐", staple: "米饭", dishes: "番茄炒蛋, 清炒时蔬", notes: "少盐少油" },
                 { id: 302, mealTime: "晚餐", staple: "小米粥", dishes: "蒸鱼, 凉拌黄瓜", notes: "糖尿病餐" },
            ]
        }
    }
};